package com.code.monitor.constants;

public enum ResultCode {
    SUCCESS("0", "成功"),
    PARAM_LACK("501", "缺少参数"),
    ERROR("500", "系统内部错误");

    private String code;

    private String message;

    ResultCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
